@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  background: #F2F6FC;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}


/* 自定义滚动条样式 */
::-webkit-scrollbar {
  width: 4px; /* 滚动条宽度 */
  height: 4px; /* 横向滚动条高度 */
}

::-webkit-scrollbar-track {
  background: #f0f0f0; /* 滚动条轨道背景，设置为灰色 */
}

::-webkit-scrollbar-thumb {
  background: #888; /* 滚动条滑块颜色，设置为深灰色 */
  border-radius: 3px; /* 滚动条滑块圆角 */
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* 滚动条滑块悬停颜色，设置为更深的灰色 */
}



/**  字体引入  **/
@font-face {
  font-family: "dkl";
  src: url("~@/assets/fonts/SourceHanSansCN-Light.otf");
}

@font-face {
  font-family: "冶金字体";
  src: url("~@/assets/fonts/液晶数字字体.TTF");
}

@font-face {
  font-family: "首屏文字";
  src: url("~@/assets/fonts/DIN_Medium.ttf");
}

@font-face {
  font-family: "titleFont";
  src: url("~@/assets/fonts/锐字锐线怒放黑简1.0_0.TTF");
}

@font-face {
  font-family: "wordFont1";
  src: url("~@/assets/fonts/SourceHanSansCN-Regular.ttf");
}